﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dawn_of_Man
{
    [Serializable()]
    public class Area
    {
        public String name { get; set; }
        public int ressourcePrTurn { get; set; }
        public int huntChance { get; set; }
        public int gatherChance { get; set; }
        public Ressource res { get; set; }
        public List<Homosapien> hunting = new List<Homosapien>();
        public List<Homosapien> working = new List<Homosapien>();
        public override string ToString()
        {
            return name;
        }


        public void addWorker(Homosapien worker)
        {
            working.Add(worker);
        }

        public void removeWorker(Homosapien worker)
        {
            working.Remove(worker);
        }

        public void addHunter(Homosapien worker)
        {
            hunting.Add(worker);
        }

        public void removeHunter(Homosapien worker)
        {
            hunting.Remove(worker);
        }
    }
}
